﻿using System;

namespace DivaScript.F
{
    /// <summary>
    /// Project DIVA F command opcodes.
    /// </summary>
    public enum Opcode : uint
    {
        END = 0x00,
        TIME = 0x01,
        MIKU_MOVE = 0x02,
        MIKU_ROT = 0x03,
        MIKU_DISP = 0x04,
        MIKU_SHADOW = 0x05,
        TARGET = 0x06,
        SET_MOTION = 0x07,
        SET_PLAYDATA = 0x08,
        EFFECT = 0x09,
        FADEIN_FIELD = 0x0A,
        EFFECT_OFF = 0x0B,
        SET_CAMERA = 0x0C,
        DATA_CAMERA = 0x0D,
        CHANGE_FIELD = 0x0E,
        HIDE_FIELD = 0x0F,
        MOVE_FIELD = 0x10,
        FADEOUT_FIELD = 0x11,
        EYE_ANIM = 0x12,
        MOUTH_ANIM = 0x13,
        HAND_ANIM = 0x14,
        LOOK_ANIM = 0x15,
        EXPRESSION = 0x16,
        LOOK_CAMERA = 0x17,
        LYRIC = 0x18,
        MUSIC_PLAY = 0x19,
        MODE_SELECT = 0x1A,
        EDIT_MOTION = 0x1B,
        BAR_TIME_SET = 0x1C,
        SHADOWHEIGHT = 0x1D,
        EDIT_FACE = 0x1E,
        MOVE_CAMERA = 0x1F,
        PV_END = 0x20,
        SHADOWPOS = 0x21,
        EDIT_LYRIC = 0x22,
        EDIT_TARGET = 0x23,
        EDIT_MOUTH = 0x24,
        SET_CHARA = 0x25,
        EDIT_MOVE = 0x26,
        EDIT_SHADOW = 0x27,
        EDIT_EYELID = 0x28,
        EDIT_EYE = 0x29,
        EDIT_ITEM = 0x2A,
        EDIT_EFFECT = 0x2B,
        EDIT_DISP = 0x2C,
        EDIT_HAND_ANIM = 0x2D,
        AIM = 0x2E,
        HAND_ITEM = 0x2F,
        EDIT_BLUSH = 0x30,
        NEAR_CLIP = 0x31,
        CLOTH_WET = 0x32,
        LIGHT_ROT = 0x33,
        SCENE_FADE = 0x34,
        TONE_TRANS = 0x35,
        SATURATE = 0x36,
        FADE_MODE = 0x37,
        AUTO_BLINK = 0x38,
        PARTS_DISP = 0x39,
        TARGET_FLYING_TIME = 0x3A,
        CHARA_SIZE = 0x3B,
        CHARA_HEIGHT_ADJUST = 0x3C,
        ITEM_ANIM = 0x3D,
        CHARA_POS_ADJUST = 0x3E,
        SCENE_ROT = 0x3F,
        EDIT_MOT_SMOOTH_LEN = 0x40,
        PV_BRANCH_MODE = 0x41,
        DATA_CAMERA_START = 0x42,
        MOVIE_PLAY = 0x43,
        MOVIE_DISP = 0x44,
        WIND = 0x45,
        OSAGE_STEP = 0x46,
        OSAGE_MV_CCL = 0x47,
        CHARA_COLOR = 0x48,
        SE_EFFECT = 0x49,
        EDIT_MOVE_XYZ = 0x4A,
        EDIT_EYELID_ANIM = 0x4B,
        EDIT_INSTRUMENT_ITEM = 0x4C,
        EDIT_MOTION_LOOP = 0x4D,
        EDIT_EXPRESSION = 0x4E,
        EDIT_EYE_ANIM = 0x4F,
        EDIT_MOUTH_ANIM = 0x50,
        EDIT_CAMERA = 0x51,
        EDIT_MODE_SELECT = 0x52,
        PV_END_FADEOUT = 0x53,
    }
}
